<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>i2c: C:/Users/Jon/Downloads/OOP/old/index.php Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">i2c
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">C:/Users/Jon/Downloads/OOP/old/index.php</div>  </div>
</div>
<div class="contents">
<a href="old_2index_8php.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 &lt;?php session_start();
<a name="l00002"></a>00002  ?&gt;
<a name="l00003"></a>00003 &lt;html&gt;
<a name="l00004"></a>00004     &lt;head&gt;
<a name="l00005"></a>00005         &lt;title&gt;UNHM Internships&lt;/title&gt;
<a name="l00006"></a>00006         &lt;link rel=<span class="stringliteral">&quot;stylesheet&quot;</span> type=<span class="stringliteral">&quot;text/css&quot;</span> href=<span class="stringliteral">&quot;css/style.css&quot;</span> /&gt;
<a name="l00007"></a>00007     &lt;/head&gt;
<a name="l00008"></a>00008     &lt;body&gt;
<a name="l00009"></a>00009         &lt;form action=<span class="stringliteral">&quot;index.php&quot;</span> method=<span class="stringliteral">&quot;post&quot;</span>&gt;
<a name="l00010"></a>00010             &lt;table width=<span class="stringliteral">&quot;100%&quot;</span>&gt;&lt;div align=<span class="stringliteral">&quot;left&quot;</span>&gt;
<a name="l00011"></a>00011                 &lt;tr&gt;&lt;td rowspan=<span class="stringliteral">&quot;5&quot;</span>&gt;&lt;img src=<span class="stringliteral">&quot;img/unhmlogo.png&quot;</span> width=<span class="stringliteral">&quot;200px&quot;</span> height=<span class="stringliteral">&quot;120px&quot;</span> /&gt;&lt;/td&gt;&lt;/tr&gt;
<a name="l00012"></a>00012                 &lt;tr&gt;&lt;td&gt;&lt;h3&gt;UNHM Internships&lt;/h3&gt;&lt;br /&gt;&lt;/td&gt;&lt;td align=<span class="stringliteral">&quot;right&quot;</span> valign=<span class="stringliteral">&quot;top&quot;</span>&gt;&lt;a href=<span class="stringliteral">&quot;login.php&quot;</span>&gt;Login&lt;/a&gt; | &lt;/td&gt;&lt;td align=<span class="stringliteral">&quot;left&quot;</span> valign=<span class="stringliteral">&quot;top&quot;</span>&gt;&lt;a href=<span class="stringliteral">&quot;help.php&quot;</span>&gt;?&lt;/a&gt;&lt;/tr&gt;
<a name="l00013"></a>00013                 &lt;tr&gt;&lt;td&gt;&lt;p&gt;Search <span class="keywordflow">for</span> an internship opportunity by:&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
<a name="l00014"></a>00014                 &lt;tr&gt;&lt;td&gt;
<a name="l00015"></a>00015                         &lt;input type=<span class="stringliteral">&quot;submit&quot;</span> <span class="keyword">class</span>=<span class="stringliteral">&quot;submit&quot;</span> value=<span class="stringliteral">&quot;Company&quot;</span> name=<span class="stringliteral">&quot;repCompanies&quot;</span> /&gt;
<a name="l00016"></a>00016                         &lt;!--&lt;input type=<span class="stringliteral">&quot;submit&quot;</span> <span class="keyword">class</span>=<span class="stringliteral">&quot;submit&quot;</span> value=<span class="stringliteral">&quot;Interest&quot;</span> name=<span class="stringliteral">&quot;repInterest&quot;</span> /&gt;--&gt;
<a name="l00017"></a>00017                         &lt;input type=<span class="stringliteral">&quot;submit&quot;</span> <span class="keyword">class</span>=<span class="stringliteral">&quot;submit&quot;</span> value=<span class="stringliteral">&quot;Semester&quot;</span> name=<span class="stringliteral">&quot;repSemester&quot;</span> /&gt;
<a name="l00018"></a>00018                         &lt;input type=<span class="stringliteral">&quot;submit&quot;</span> <span class="keyword">class</span>=<span class="stringliteral">&quot;submit&quot;</span> value=<span class="stringliteral">&quot;Location&quot;</span> name=<span class="stringliteral">&quot;repLocation&quot;</span> /&gt;
<a name="l00019"></a>00019                         &lt;input type=<span class="stringliteral">&quot;submit&quot;</span> <span class="keyword">class</span>=<span class="stringliteral">&quot;submit&quot;</span> value=<span class="stringliteral">&quot;Paid&quot;</span> name=<span class="stringliteral">&quot;repPaid&quot;</span> /&gt;
<a name="l00020"></a>00020                         &lt;input type=<span class="stringliteral">&quot;submit&quot;</span> <span class="keyword">class</span>=<span class="stringliteral">&quot;submit&quot;</span> value=<span class="stringliteral">&quot;Date Added&quot;</span> name=<span class="stringliteral">&quot;repDateAdded&quot;</span> /&gt;
<a name="l00021"></a>00021                     &lt;/td&gt;&lt;/tr&gt;
<a name="l00022"></a>00022                 &lt;tr&gt;&lt;td&gt;
<a name="l00023"></a>00023                         &lt;?php
<a name="l00024"></a>00024                         require <span class="stringliteral">&#39;inc/functions.php&#39;</span>;
<a name="l00025"></a>00025                            <a class="code" href="db-control_2inc_2functions_8php.html#aca07cf60afd49a5a5b583459f5423045">connectToDatabase</a>();
<a name="l00026"></a><a class="code" href="old_2index_8php.html#ac29a6d686fefda4ad6cd540543c4906e">00026</a>                             <a class="code" href="logout_8php.html#aa3f93905a0a94ad29ddd47d9e5638098">$_SESSION</a>[<span class="stringliteral">&#39;category&#39;</span>] = $_POST[<span class="stringliteral">&#39;categoryChange&#39;</span>];
<a name="l00027"></a>00027                             echo <span class="stringliteral">&quot;&lt;br /&gt;&quot;</span>;
<a name="l00028"></a>00028                             <a class="code" href="old_2inc_2functions_8php.html#a670611c688faf5381e11ce55cb7dc889">showCategories</a>(<a class="code" href="logout_8php.html#aa3f93905a0a94ad29ddd47d9e5638098">$_SESSION</a>[<span class="stringliteral">&#39;category&#39;</span>]);
<a name="l00029"></a>00029                         ?&gt;
<a name="l00030"></a>00030                         &lt;hr /&gt;&lt;/td&gt;&lt;/tr&gt;
<a name="l00031"></a>00031                 
<a name="l00032"></a>00032             &lt;/table&gt;
<a name="l00033"></a>00033         &lt;/form&gt;
<a name="l00034"></a>00034         &lt;?php
<a name="l00035"></a>00035         If (isset($_POST[<span class="stringliteral">&#39;repCompanies&#39;</span>])) {
<a name="l00036"></a>00036             <a class="code" href="old_2inc_2functions_8php.html#a273a92a70827a0af04a320d529d15e52">filterCompany</a>();
<a name="l00037"></a>00037         }
<a name="l00038"></a>00038         If (isset($_POST[<span class="stringliteral">&#39;cityChange&#39;</span>])) {
<a name="l00039"></a>00039             <a class="code" href="old_2inc_2functions_8php.html#a70dc3371559a476fc50529b9854e289c">filterLocation</a>($_POST[<span class="stringliteral">&#39;cityChange&#39;</span>]);
<a name="l00040"></a>00040         }
<a name="l00041"></a>00041         If (isset($_POST[<span class="stringliteral">&#39;repLocation&#39;</span>])) {
<a name="l00042"></a>00042             <a class="code" href="old_2inc_2functions_8php.html#a70dc3371559a476fc50529b9854e289c">filterLocation</a>(null);
<a name="l00043"></a>00043         }
<a name="l00044"></a>00044         If (isset($_POST[<span class="stringliteral">&#39;viewCompany&#39;</span>])) {
<a name="l00045"></a>00045             <a class="code" href="old_2inc_2functions_8php.html#acc3aaf7747487320597223e9b51fc7b4">viewCompany</a>($_POST[<span class="stringliteral">&#39;viewCompany&#39;</span>]);
<a name="l00046"></a>00046         }
<a name="l00047"></a>00047         If (isset($_POST[<span class="stringliteral">&#39;repPaid&#39;</span>])) {
<a name="l00048"></a>00048             <a class="code" href="old_2inc_2functions_8php.html#aa8f7fe1db6603648ae2628aaf571ecc0">filterPaid</a>();
<a name="l00049"></a>00049         }
<a name="l00050"></a>00050         If (isset($_POST[<span class="stringliteral">&#39;repDateAdded&#39;</span>])) {
<a name="l00051"></a>00051             <a class="code" href="old_2inc_2functions_8php.html#ac1b9b6235dfdcf4b5e61f181ae2827d6">filterDate</a>();
<a name="l00052"></a>00052         }
<a name="l00053"></a>00053         ?&gt;
<a name="l00054"></a>00054 
<a name="l00055"></a>00055     &lt;/body&gt;
<a name="l00056"></a>00056 &lt;/html&gt;
</pre></div></div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Nov 29 2011 18:18:54 for i2c by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
